package com.xuexiang.yoyo.entity;

import java.io.Serializable;

public class Pair implements Serializable {

    private static final long serialVersionUID = 8579949134186665532L;
    private Long key;
    private String value;


    private String strKey;
    private String[] arrValue;

    public Pair(Long key, String value) {
        this.key = key;
        this.value = value;
    }

    public Pair(Long key, String[] arrValue) {
        this.key = key;
        this.arrValue = arrValue;
    }


    public Pair(String strKey, String[] arrValue) {
        this.strKey = strKey;
        this.arrValue = arrValue;
    }

    public String getStrKey() {
        return strKey;
    }

    public void setStrKey(String strKey) {
        this.strKey = strKey;
    }

    public String[] getArrValue() {
        return arrValue;
    }

    public void setArrValue(String[] arrValue) {
        this.arrValue = arrValue;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return value;
    }
}